package com.qf.mxapp.service.Impl;

import com.qf.mxapp.mapper.ProductMapper;
import com.qf.mxapp.pojo.Product;
import com.qf.mxapp.service.ProductService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;


import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {
    @Resource
    private ProductMapper productMapper;

    @Override
    public List<Product> getRecommendByBusinessId(Integer bId) {
        return productMapper.queryRecommendByBusinessId(bId);
    }
}
